
<!doctype html>
<html class="no-js">
<#include "../../common/header.ftl">
<script	src="${basePath}/js/appUser/editMoney.js?v=201711021700"></script>
<head>
<meta charset="UTF-8">
<title>充值/提现</title>
<style>
	.foot{
		position: absolute;
		left: 10%;
		top: 90%;
	}
	.lable_text{
		padding:0px 8px;
	}
	.hide{
		display:none;
	}
	.readonly-input{
		background-color: #e2e2e2;
	}
	.left{
		float:left;
	    width: 45%;
	}
	.answer-tips{
		color:red;
	}
	.type-text{
		font-size: large;
	    margin-left: 20px;
	    color: #d8142d;
	}
	.info-text{
		font-size: medium;
	    margin-left: 20px;
	}
</style>
</head>
<body>
<div style="min-height: 80%; min-width: 90%; margin: 20px 20px;">
		<div style="width:80%;">
			<form class="layui-form layui-form-pane">
				<div class="layui-form-item">
					<label class="layui-form-label" style="width:112px;">类型</label>
					<div class="layui-form-mid layui-word-aux type-text">
						<#if type?? && type == 1> <span>充值</span>
						<#elseif type?? && type == 3> <span>提现</span>
						<#else> <span>异常</span>
						</#if>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label" style="width:112px;">用户信息</label>
					<div class="layui-form-mid layui-word-aux">
						<span class="info-text">账户：${appUser.mobileNo!}</span>
						<span class="info-text">余额：${appUser.money?string('#0.00')}</span>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label" style="width:112px;">金额*</label>
					<div class="layui-input-inline">
						<input type="text" id="cash" required="" lay-verify="required"
							placeholder="请输入金额" value="" autocomplete="off" class="layui-input">
					</div>
					 <div class="layui-form-mid layui-word-aux" id="cash-text"></div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label" style="width:112px;">支付流水号*</label>
					<div class="layui-input-block">
						<input type="text" id="serialNumber" required="" lay-verify="required"
							placeholder="请输入流水号" value="" autocomplete="off" class="layui-input">
					</div>
					 <div class="layui-form-mid layui-word-aux" id="cash-text"></div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label" style="width:112px;">备注</label>
					<div class="layui-input-block">
						<input type="text"	id="remark" required="" lay-verify="required"
							placeholder="请输入备注" value="" autocomplete="off" class="layui-input">
					</div>
				</div>
			</form>
			</div>
	<div class="foot">
		<button type="button" class="layui-btn layui-btn-normal"
			id="save-button">
			<i class="layui-icon">&#xe605;</i>保存
		</button>
		<button type="button" class="layui-btn layui-btn-normal"
			id="close-button">
			<i class="layui-icon">&#x1006;</i>关闭
		</button>
	</div>
</body>
<script type="text/javascript">
	var basePath = "${basePath}";
	var imgUrl = "${imgUrl}";
	var init={
	 	type:"${type!}",
	 	userId:"${appUser.userId!}",
	 	money:"${appUser.money!}",
	}
	layui.use(['form','layer'], function() {
		var form = layui.form();
		var layer = layui.layer;
	});
</script>
</html>
